package org.kazuhiko.rpg.client.net.packet;

public enum DataType
{
	STRING(0),
	BYTE(1),
	SHORT(2),
	INT(4),
	LONG(8),
	CLASSIC_STRING(64),
	BYTE_ARRAY(1024);
	
	private int length;
	
	private DataType( int length )
	{
		this.length = length;
	}
	
	public int getLength()
	{
		return length;
	}
}